<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/12/28
  Time: 9:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Ajax跨域</title>
    <script>
        function f1(){
            fn("Hello JSONP");
        }

        function fn(a){
            console.log(a);
        }
    </script>
</head>
<body>
<button onclick="f1()">测试</button>
</body>
</html>
